
<template>
  <view class="app-container">
          <Upload />

         <!-- <nut-popup position="bottom" :style="{ height: '50%' }" v-model:visible="show">

   
         </nut-popup> -->

          <nut-datepicker
      v-model="currentDate" 
         v-model:visible="show"
      :is-show-chinese="true"
      @confirm="confirm"
  ></nut-datepicker> 

  </view>
</template>
<script>
import Upload from '../../common/uploader.vue'
export default {
  components: { Upload},
  data() {
    return {
        currentDate:new Date(2022, 4, 10, 10, 10),
        show:true,
    
    };
  },
  mounted() {},
  methods: {
    confirm ({ selectedValue, selectedOptions }) {
      console.log({ selectedValue, selectedOptions });
    },
  },
};
</script>  

<style > 
.popup-bottom1{
  display: block !important;
}
</style> 